package com.sy.entity;

import org.apache.ibatis.annotations.Param;

public class SubmitShortAnswer {
    private Integer id;
    private Integer studentId;
    private Integer shortquestionId;
    private String answer;
    private Integer homeworkId;

    public Integer getHomeworkId() {
        return homeworkId;
    }

    public void setHomeworkId(Integer homeworkId) {
        this.homeworkId = homeworkId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getStudentId() {
        return studentId;
    }

    public void setStudentId(Integer studentId) {
        this.studentId = studentId;
    }

    public Integer getShortquestionId() {
        return shortquestionId;
    }

    public void setShortquestionId(Integer shortquestionId) {
        this.shortquestionId = shortquestionId;
    }

    public String getAnswer() {
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }

    @Override
    public String toString() {
        return "SubmitShortAnswer{" +
                "id=" + id +
                ", studentId=" + studentId +
                ", shortquestionId=" + shortquestionId +
                ", answer=" + answer +
                ", homeworkId=" + homeworkId +
                '}';
    }
}
